﻿<link href="~/Content/bootstrap.min.css" rel="stylesheet" type="text/css">
<script src="~/Scripts/jquery-2.1.4.min.js"></script>
<script src="~/Scripts/bootstrap.min.js"></script>

<link href="~/Content/styles.css" rel="stylesheet" type="text/css">
  @*  <div class="navbar navbar-inverse navbar-fixed-top" style="background:none;">
        <div class="header_top">
            <div class="header_top1">
                <div class="header_top2">
                    <i class="iconl icon-language-vi"></i>
                    <a href="#"><span>CHANGE LANGUAGE </span><img src="~/Content/images/1.png"></a>
                    <a href="#"><span>CHĂM SÓC KHÁCH HÀNG </span><img src="~/Content/images/1.png"></a>
                    <a href="#"><span> KIỂM TRA ĐƠN HÀNG </span><img src="~/Content/images/1.png"></a>


                    @if (Request.Cookies["username"] == null)
                    {

                        if (Session["username"] == null)
                        {
                            <a href="#" style="margin-left:25px;"> @Html.ActionLink("ĐĂNG NHẬP", "Index", "Account")<img src="~/Content/images/1.png"></a>
                            <a href="#"><span> ĐĂNG KÝ </span><img src="~/Content/images/1.png"></a>
                        }
                        else
                        {

                            <ul class="menu">

                                <li class="parent">
                                    <a href="#">Welcome @Session["username"]</a><img src="~/Content/images/1.png">
                                    <ul>
                                        <li><a href="/"><q class="glyphicon glyphicon-home" style="margin-right:3px;"></q>Trang Chu</a></li>
                                        <li><a href="@Url.Action("Logout","Account")"><q class="glyphicon glyphicon-log-out" style="margin-right:5px;margin-left:-15px;"></q>Logout</a></li>
                                    </ul>
                                </li>
                            </ul>



                        }

                    }
                    else
                    {
                        <ul class="menu">

                            <li class="parent">
                                <a href="#">Welcome @Request.Cookies["username"].Value</a><img src="~/Content/images/1.png">
                                <ul>
                                    <li><a href="/"><q class="glyphicon glyphicon-home" style="margin-right:3px;"></q>Trang Chu</a></li>
                                    <li><a href="@Url.Action("Logout","Account")"><q class="glyphicon glyphicon-log-out" style="margin-right:5px;margin-left:-13px;"></q>Logout</a></li>
                                </ul>
                            </li>
                        </ul>
                    }








                </div>

            </div>
        </div>

        <div class="header_bottom">
            <div class="header_bottom1">
                <a href="/"><img src="~/Content/images/vn.png" class="header__logo__img" alt="" width="124" height="39"></a>
                <img src="~/Content/images/top-header.jpg" class="header__newsletter__link" alt="" width="162" height="39">
                <div class="header__search__wrapper">
                    <div class="header__search">
                        <form id="search" action="#" method="get" autocomplete="off">
                            <input type="search" id="searchInput" name="q" placeholder="Tìm kiếm theo sản phẩm, danh mục hay nhãn hàng mong muốn" value="">
                            <a href="#"><div class="header__search__submit">Tìm kiếm</div></a>
                        </form>
                        <div id="searchSuggestResult" class="header__search__results"></div>
                        <div class="header__cart go-to-cart-page enableCartPopup2015 headCart header__cart__items_empty">

                            <i class="icon icon-cart-white"></i>

                        </div>
                    </div>

                </div>
                <div class="header__brands">
                    <ul class="header__brands__list">
                        <li class="header__brands__item">Xu hướng tìm kiếm</li>

                        <li class="header__brands__item"><a href="#">khuyến mãi</a></li>
                        <li class="header__brands__item"><a href="#">Meizu M2</a></li>
                        <li class="header__brands__item"><a href="#">Lenovo A6010</a></li>
                        <li class="header__brands__item"><a href="#">Alcatel Flash 2</a></li>
                        <li class="header__brands__item"><a href="#">đồng hồ</a></li>
                        <li class="header__brands__item"><a href="#">laptop</a></li>
                        <li class="header__brands__item"><a href="#">iphone 6s</a></li>
                        <li class="header__brands__item"><a href="#">tai nghe</a></li>
                        <li class="header__brands__item"><a href="#">usb</a></li>
                        <li class="header__brands__item"><a href="#">Samsung</a></li>
                        <li class="header__brands__item"><a href="#">Oppo</a></li>
                        <li class="header__brands__item"><a href="#">điện thoại</a></li>
                        <li class="header__brands__item"><a href="#">đồng hồ thông minh</a></li>


                    </ul>
                </div>
            </div>
        </div>
        <div class="container">
            <div class="left">

            </div>
            <div class="center-block">

            </div>
            <div class="right">

            </div>
        </div>
        <div class="footer">

        </div>
    </div>*@

<script src="~/Scripts/jquery.min.js"></script>
<link href="~/Content/bootstrap.min.css" rel="stylesheet">
<script src="~/Scripts/bootstrap.min.js"></script>
<script src="~/Scripts/function.js"></script>


<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">LAZADA.VN</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li>
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Home</a>
                </li>
                
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Product<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li>@Html.ActionLink("Sản Phẩm", "Product", "ProductAdmin")</li>
                        <li role="separator" class="divider"></li>
                        <li>@Html.ActionLink("Chi Tiết Sản Phẩm", "ProductDetails", "ProductDetailsAdmin")</li>
                    </ul>
                </li>
                <li>
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Content</a>
                </li>
                <li>
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Help</a>
                </li>
                </ul>
            <form class="navbar-form navbar-left" role="search">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="Search">
                </div>
                <button type="submit" class="btn btn-default">Search</button>
            </form>
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    

                    @if (Request.Cookies["username"] == null)
                    {

                        if (Session["username"] == null)
                        {
                            
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">@Html.ActionLink("ĐĂNG NHẬP", "Index", "Account") <span class="caret"></span></a>

                        }
                        else
                        {
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="glyphicon glyphicon-user"></i> Welcome @Session["username"]<span class="caret"></span></a>

                            <ul class="dropdown-menu">
                                <li><a href="/"> Trang Chủ</a></li>
                                <li role="separator" class="divider"></li>
                                <li><a href="@Url.Action("Logout","Account")"><i class="glyphicon glyphicon-log-out"></i> Đăng Xuất</a></li>
                            </ul>
                        }

                    }
                    else
                    {
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="glyphicon glyphicon-user"></i> Welcome @Request.Cookies["username"].Value<span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="/"><i class="glyphicon glyphicon-home"></i> Trang Chủ</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="@Url.Action("Logout","Account")"><i class="glyphicon glyphicon-log-out"></i> Đăng Xuất</a></li>
                        </ul>
                    }
                </li>
       
        </ul>
    </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>